package com.acme.bankapp.domain.bank;

import java.util.ArrayList;
import java.util.List;

import com.acme.bankapp.domain.client.Client;

/**
 * Class contains the bank representation.
 *
 * @author S.Zhidkov
 */
public class Bank {
    private List<Client> clients = new ArrayList<Client>();

    /**
     * Get all clients of the bank
     * @return list of the clients
     */
    public List<Client> getClients() {
        return clients;
    }

    /**
     * Add client to the bank
     * @param client to add
     */
    public void addClient(Client client) {
        clients.add(client);
    }

}
